/* ============================================
   GLOBAL DESIGN SYSTEM
   ============================================ */

:root {
  /* Colors */
  --peach: #FDE8D0;
  --peach-light: #FFF3E6;
  --peach-hero: #FAE1C8;
  --warm-brown: #C4793A;
  --warm-brown-dark: #A8632B;
  --teal: #6E9DAA;
  --teal-dark: #5A8A96;
  --teal-light: #8BB5C0;
  --mega-cyan: #4DB3C7;
  --mega-cyan-dark: #3A9AAE;
  --mega-orange: #F47B20;
  --white: #FFFFFF;
  --off-white: #FDFBF9;
  --light-blue-gray: #F2F5F7;
  --blue-gray-bg: #E9EDF1;
  --pink-accent: #E0878A;
  --pink-stat: #D97B7E;
  --text-dark: #333333;
  --text-body: #555555;
  --text-light: #888888;
  --text-muted: #AAAAAA;
  --border-light: #E8E8E8;
  --border-dotted: #CCCCCC;

  /* Typography */
  --font-script: 'Dancing Script', cursive;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-max: 1200px;
  --container-padding: 0 20px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.3s var(--ease-smooth);
  --transition-slow: 0.5s var(--ease-smooth);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 15px rgba(0,0,0,0.06);
}

/* ============================================
   RESET & BASE
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  outline: none;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

.text-center {
  text-align: center;
}

/* ============================================
   TYPOGRAPHY HELPERS
   ============================================ */

.script-font {
  font-family: var(--font-script);
}

.section-label {
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 8px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--warm-brown);
  line-height: 1.25;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 50px;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow var(--transition-normal), background var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 98px;
  position: relative;
}

/* Logo */
.logo a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  display: block;
  height: 68px;
  width: auto;
  object-fit: contain;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--warm-brown);
  color: var(--white);
  border-radius: 50%;
  font-size: 16px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.logo-accent {
  color: var(--warm-brown);
}

/* Navigation */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-list li {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 24px 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-dark);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link i.fa-chevron-down {
  font-size: 8px;
  transition: transform var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--warm-brown);
}

.nav-link:hover i.fa-chevron-down {
  transform: rotate(180deg);
}

.nav-divider {
  width: 1px;
  height: 20px;
  background: var(--border-light);
  margin: 0 6px;
  align-self: center;
}

.nav-login {
  font-size: 11px !important;
  opacity: 0.7;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--text-dark);
  font-size: 15px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.header-icon-btn:hover {
  background: var(--light-blue-gray);
  color: var(--warm-brown);
}

.icon-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: var(--pink-accent);
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  z-index: 1010;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Bottom Navigation (shown in mobile view only) */
.mobile-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1005;
  display: none;
  height: 64px;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 -1px 8px rgba(0,0,0,0.06);
}

.mobile-bottom-nav-list {
  flex: 1 1 0;
  width: 100%;
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-bottom-nav-list li {
  flex: 1 1 0;
  min-width: 0;
}

.mb-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 100%;
  border: none;
  background: none;
  color: #8a8a8a;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.mb-nav-item i {
  font-size: 19px;
  line-height: 1;
}

.mb-nav-item.active,
.mb-nav-item:active {
  color: var(--warm-brown);
}

.mb-nav-item .icon-badge {
  top: 5px;
  right: calc(50% - 14px);
  width: 15px;
  height: 15px;
  font-size: 8px;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1012;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 80vw;
  max-width: 360px;
  background: var(--white);
  padding: 24px 24px 30px;
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-overlay.active .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-list li {
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-list a {
  display: block;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-dark);
}

.mobile-nav-list a:hover,
.mobile-nav-list a:active {
  color: var(--warm-brown);
}

/* Mobile SHOP accordion sub-menu */
/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  position: relative;
  margin-top: 98px;
  background: var(--peach-hero);
  overflow: hidden;
}

.hero-slider {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 60px 20px 80px;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-slides {
  position: relative;
  width: 100%;
  min-height: 420px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.hero-content {
  max-width: 480px;
  padding-left: 80px;
  z-index: 2;
}

.hero-subtitle {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: var(--warm-brown);
  margin-bottom: 10px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 700;
  color: var(--warm-brown-dark);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.hero-description {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 400px;
}

.hero-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 172px;
  padding: 13px 36px;
  white-space: nowrap;
  background: var(--warm-brown);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  border-radius: 30px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 4px 14px rgba(196, 121, 58, 0.25);
  transition: background var(--transition-fast), transform var(--transition-fast),
    box-shadow 0.3s var(--ease-smooth), letter-spacing 0.3s var(--ease-smooth);
  animation: heroBtnPulse 2.6s var(--ease-smooth) infinite;
}

.hero-btn:hover {
  background: var(--warm-brown-dark);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(196, 121, 58, 0.4);
  letter-spacing: 2px;
  animation: none;
}

.hero-btn:active {
  transform: translateY(-1px) scale(0.97);
  box-shadow: 0 4px 12px rgba(196, 121, 58, 0.3);
}

.hero-btn .hero-btn-arrow {
  font-size: 12px;
  transition: transform 0.35s var(--ease-smooth);
}

.hero-btn:hover .hero-btn-arrow {
  transform: translateX(6px);
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  z-index: 1;
  transition: left 0.6s var(--ease-smooth);
}

.hero-btn:hover::before {
  left: 130%;
}

@keyframes heroBtnPulse {
  0%, 100% {
    box-shadow: 0 4px 14px rgba(196, 121, 58, 0.25);
  }
  50% {
    box-shadow: 0 4px 22px rgba(196, 121, 58, 0.45);
  }
}

.hero-image-wrap {
  position: relative;
  flex-shrink: 0;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 380px;
  height: 380px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 20px 60px rgba(196, 121, 58, 0.2);
}

.hero-float {
  position: absolute;
  animation: float 4s ease-in-out infinite;
}

.hero-float-1 {
  top: -10px;
  right: 20px;
  animation-delay: 0s;
}

.hero-float-2 {
  bottom: 20px;
  left: -10px;
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* Hero Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-brown);
  font-size: 14px;
  box-shadow: var(--shadow-md);
  z-index: 5;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.hero-arrow:hover {
  background: var(--warm-brown);
  color: var(--white);
  transform: translateY(-50%) scale(1.05);
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

/* Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(196, 121, 58, 0.3);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.hero-dot.active {
  background: var(--warm-brown);
  transform: scale(1.2);
}

.hero-dot:hover {
  background: var(--warm-brown);
}

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ============================================
   COLLECTION / CATEGORIES
   ============================================ */

.collection-section {
  padding: 80px 0;
  background: var(--white);
}

.collection-layout {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.collection-intro {
  flex: 0 0 260px;
  padding-top: 20px;
}

.collection-heading {
  font-size: 30px;
  line-height: 1.35;
}

.collection-items {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.collection-item {
  flex: 0 0 auto;
  text-align: center;
  padding: 0 25px;
  max-width: 220px;
}

.collection-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--peach);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.collection-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(253, 232, 208, 0.5);
}

.collection-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--warm-brown);
  margin-bottom: 10px;
}

.collection-desc {
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 18px;
}

.learn-more-btn {
  display: inline-block;
  padding: 8px 22px;
  border: 1.5px solid var(--teal);
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 3px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.learn-more-btn:hover {
  background: var(--teal);
  color: var(--white);
}

/* Dotted Connectors */
.collection-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 65px;
  gap: 0;
  flex-shrink: 0;
}

.connector-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-dotted);
}

.connector-line {
  width: 1px;
  height: 50px;
  border-left: 2px dotted var(--border-dotted);
}

/* ============================================
   HANDMADE CAKES FEATURE
   ============================================ */

.cake-feature-section {
  padding: 80px 0;
  background: var(--white);
}

.cake-feature-layout {
  display: flex;
  align-items: center;
  gap: 70px;
}

.cake-feature-images {
  flex: 0 0 480px;
  position: relative;
  height: 460px;
}

.cake-main-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.cake-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cake-secondary-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-lg);
  animation: cakeFloat 4s ease-in-out infinite;
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}

.cake-secondary-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cake-secondary-image:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 18px 46px rgba(196, 121, 58, 0.35);
  animation-play-state: paused;
}

@keyframes cakeFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.cake-blueberries {
  position: absolute;
  top: 60px;
  right: 80px;
  z-index: 2;
}

.blueberry-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 80px;
}

.blueberry {
  display: block;
  width: 14px;
  height: 14px;
  background: #5B4A8A;
  border-radius: 50%;
  box-shadow: inset -2px -2px 4px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.15);
}

.cake-fork {
  position: absolute;
  bottom: 80px;
  left: 30px;
  color: var(--text-muted);
  font-size: 24px;
  transform: rotate(-30deg);
  opacity: 0.5;
}

.cake-feature-content {
  flex: 1;
}

.cake-heading {
  font-size: 34px;
  line-height: 1.3;
}

.cake-description {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 35px;
  max-width: 480px;
}

.cake-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.stat-card {
  background: var(--light-blue-gray);
  padding: 22px 20px;
  border-radius: 6px;
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--pink-stat);
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.stat-link {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--teal);
  transition: color var(--transition-fast);
}

.stat-link:hover {
  color: var(--teal-dark);
}

/* ============================================
   FEATURED PRODUCTS
   ============================================ */

.featured-section {
  position: relative;
  padding: 80px 0;
  background: var(--light-blue-gray);
  overflow: hidden;
}

.featured-pattern-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 20% 50%, var(--warm-brown) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, var(--teal) 1px, transparent 1px),
    radial-gradient(circle at 50% 80%, var(--warm-brown) 0.5px, transparent 0.5px);
  background-size: 100px 100px, 120px 120px, 80px 80px;
  pointer-events: none;
}

.featured-section .section-heading {
  color: var(--warm-brown);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.product-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f8f5f2;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 3px;
  z-index: 2;
}

.badge-hot {
  background: #E74C3C;
  color: var(--white);
}

.badge-new {
  background: var(--teal);
  color: var(--white);
}

.badge-sale {
  background: var(--warm-brown);
  color: var(--white);
}

.product-hover-actions {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: linear-gradient(transparent, rgba(0,0,0,0.15));
  transition: bottom var(--transition-normal);
}

.product-card:hover .product-hover-actions {
  bottom: 0;
}

.product-action-btn {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.product-action-btn:hover {
  background: var(--warm-brown);
  color: var(--white);
  transform: scale(1.1);
}

.product-action-btn.liked {
  background: var(--warm-brown);
  color: var(--white);
}

.product-action-btn.added {
  background: #27ae60;
  color: var(--white);
}

.product-info {
  padding: 18px 20px 20px;
}

.product-category {
  display: block;
  font-size: 11px;
  color: var(--teal);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-codes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-family: "Courier New", monospace;
  font-size: 10.5px;
  letter-spacing: 0.4px;
  color: #7a8a8f;
}

.product-codes .code-m {
  color: var(--teal);
  font-weight: 700;
}

.product-codes .code-s {
  color: #9aa5a9;
}

.product-codes .code-sep {
  opacity: 0.5;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-current {
  font-size: 16px;
  font-weight: 600;
  color: var(--warm-brown);
}

.price-old {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* ============================================
   HOW WE MAKE DONUTS
   ============================================ */

.donut-section {
  padding: 80px 0;
  background: var(--white);
}

.donut-process {
  position: relative;
  min-height: 500px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: center;
  gap: 30px;
  max-width: 1040px;
  margin: 0 auto;
}

.donut-center-image {
  position: relative;
  z-index: 2;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0,0,0,0.12);
  flex-shrink: 0;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  opacity: 0;
  animation: donutFloat 5s ease-in-out infinite;
  transition: opacity 0.9s var(--ease-smooth), transform 0.45s var(--ease-smooth), box-shadow 0.45s var(--ease-smooth);
}

.donut-center-image::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 2px dashed rgba(196, 121, 58, 0.35);
  animation: spinSlow 14s linear infinite;
  pointer-events: none;
}

.donut-center-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.donut-center-image:hover {
  box-shadow: 0 22px 60px rgba(196, 121, 58, 0.32);
  animation-play-state: paused;
}

.donut-center-image.inview {
  opacity: 1;
}

@keyframes donutFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.process-cards {
  display: contents;
}

.process-card {
  position: relative;
  background: var(--light-blue-gray);
  padding: 25px 22px;
  border-radius: 8px;
  width: 280px;
  max-width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.7s var(--ease-smooth), box-shadow 0.7s var(--ease-smooth),
    background 0.3s var(--ease-smooth), opacity 0.7s var(--ease-smooth);
}

.process-card.inview {
  opacity: 1;
  transform: translateY(0);
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.process-card-1 {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: end;
}

.process-card-2 {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: end;
}

.process-card-3 {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  align-self: start;
}

.process-card-4 {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  align-self: start;
}

.process-icon {
  width: 44px;
  height: 44px;
  background: var(--peach);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-brown);
  font-size: 18px;
  margin-bottom: 12px;
}

.process-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--pink-stat);
  opacity: 0.5;
  margin-bottom: 4px;
}

.process-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.process-desc {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* ============================================
   BLOG / ARTICLES
   ============================================ */

.blog-section {
  padding: 80px 0;
  background: var(--white);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.article-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.article-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.article-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-image-wrap img {
  transform: scale(1.05);
}

.article-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--warm-brown);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 4px;
  text-align: center;
  line-height: 1;
}

.date-day {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
}

.date-month {
  display: block;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.article-content {
  padding: 20px;
}

.article-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.article-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 15px;
  transition: color var(--transition-fast);
}

.article-card:hover .article-title {
  color: var(--warm-brown);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  color: var(--text-light);
}

.article-meta i {
  margin-right: 4px;
  font-size: 10px;
}

.article-social {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.article-social a {
  color: var(--text-muted);
  font-size: 12px;
  transition: color var(--transition-fast);
}

.article-social a:hover {
  color: var(--warm-brown);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  position: relative;
}

.footer-main {
  background: var(--light-blue-gray);
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr 1fr 1fr;
  gap: 35px;
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--warm-brown);
  line-height: 1.2;
}

.footer-brand-tagline {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.footer-logo a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-logo .logo-text {
  font-size: 22px;
}

.footer-desc {
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 18px;
}

.footer-contact-info p {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.footer-contact-info i {
  width: 16px;
  color: var(--warm-brown);
  margin-right: 6px;
  font-size: 12px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--warm-brown);
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-list a {
  font-size: 12.5px;
  color: var(--text-light);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-list a:hover {
  color: var(--warm-brown);
  padding-left: 4px;
}

.footer-recent-posts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.recent-post {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.recent-post img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.recent-post-info a {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color var(--transition-fast);
}

.recent-post-info a:hover {
  color: var(--warm-brown);
}

.recent-post-date {
  font-size: 11px;
  color: var(--text-muted);
}

/* Footer Bottom */
.footer-bottom {
  background: var(--blue-gray-bg);
  padding: 18px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-light);
}

.footer-copyright a {
  color: var(--warm-brown);
}

.footer-copyright a:hover {
  text-decoration: underline;
}

.payment-icons {
  display: flex;
  gap: 12px;
}

.payment-icon {
  font-size: 24px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.payment-icon:hover {
  color: var(--text-body);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--warm-brown);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: var(--shadow-md);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity var(--transition-normal), visibility var(--transition-normal), transform var(--transition-normal), background var(--transition-fast);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--warm-brown-dark);
  transform: translateY(-3px);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* If JS is disabled, ensure content is always visible */
html:not(.js) .reveal {
  opacity: 1;
  transform: none;
}

/* ============================================
   RESPONSIVE: TABLET (max-width: 1024px)
   ============================================ */

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-inner {
    height: 60px;
  }

  .logo-img {
    height: 52px;
  }

  /* Mobile only: logo stays top-left, hamburger top-right, and the
     fixed bottom navigation bar is shown. Home's hamburger is unchanged. */
  body.home-page {
    padding-bottom: 88px;
  }

  body.home-page .header-actions {
    display: none;
  }

  body.home-page .back-to-top {
    bottom: 84px;
  }

  .mobile-bottom-nav {
    display: flex;
  }

  .hero-section {
    margin-top: 60px;
  }

  .hero-slider {
    padding: 40px 20px 70px;
    min-height: 420px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-image-wrap {
    width: 320px;
    height: 320px;
  }

  .hero-image {
    width: 300px;
    height: 300px;
  }

  .collection-layout {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .collection-intro {
    flex: none;
    text-align: center;
  }

  .collection-items {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .collection-connector {
    display: none;
  }

  .collection-item {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 180px;
  }

  .cake-feature-layout {
    flex-direction: column;
    gap: 40px;
  }

  .cake-feature-images {
    flex: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    height: 400px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .donut-process {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px 0;
  }

  .donut-center-image {
    width: 250px;
    height: 250px;
  }

  .process-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
  }

  .process-card {
    position: relative;
    width: 100%;
    justify-self: auto;
    align-self: auto;
  }

  .process-card-1,
  .process-card-2,
  .process-card-3,
  .process-card-4 {
    grid-column: auto;
    grid-row: auto;
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles-grid .article-card:last-child {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

/* ============================================
   RESPONSIVE: MOBILE (max-width: 768px)
   ============================================ */

@media (max-width: 768px) {
  :root {
    --section-padding: 50px 0;
  }

  .section-heading {
    font-size: 28px;
  }

  .section-label {
    font-size: 18px;
  }

  /* Hero Mobile */
  .hero-slider {
    padding: 30px 15px 60px;
    min-height: 350px;
  }

  .hero-slides {
    min-height: 350px;
  }

  .hero-slide {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 50px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }

  .hero-image-wrap {
    width: 240px;
    height: 240px;
  }

  .hero-image {
    width: 220px;
    height: 220px;
  }

  .hero-float-1 {
    left: -52px;
    top: 4px;
    right: auto;
  }

  .hero-float-1 svg {
    width: 44px;
    height: 44px;
  }

  .hero-float-2 {
    right: -52px;
    bottom: 4px;
    left: auto;
  }

  .hero-float-2 svg {
    width: 38px;
    height: 38px;
  }

  .hero-arrow {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .hero-prev {
    left: 10px;
  }

  .hero-next {
    right: 10px;
  }

  /* Collection Mobile */
  .collection-section {
    padding: 50px 0;
  }

  .collection-items {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .collection-item {
    flex: none;
    width: 100%;
    max-width: 280px;
  }

  /* Cake Feature Mobile */
  .cake-feature-section {
    padding: 50px 0;
  }

  .cake-feature-images {
    height: 320px;
    max-width: 320px;
  }

  .cake-main-image {
    width: 280px;
    height: 280px;
  }

  .cake-secondary-image {
    width: 120px;
    height: 120px;
  }

  .cake-heading {
    font-size: 26px;
  }

  .cake-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Products Mobile */
  .featured-section {
    padding: 50px 0;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .product-name {
    font-size: 14px;
  }

  .price-current {
    font-size: 14px;
  }

  /* Donut Mobile */
  .donut-section {
    padding: 50px 0;
  }

  .process-cards {
    grid-template-columns: 1fr;
  }

  .donut-center-image {
    width: 220px;
    height: 220px;
  }

  /* Blog Mobile */
  .blog-section {
    padding: 50px 0;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid .article-card:last-child {
    display: block;
  }

  /* Footer Mobile */
  .footer-main {
    padding: 40px 0 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-about {
    grid-column: 1;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ============================================
   RESPONSIVE: SMALL MOBILE (max-width: 480px)
   ============================================ */

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-image-wrap {
    width: 200px;
    height: 200px;
  }

  .hero-image {
    width: 180px;
    height: 180px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .cake-stats {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 16px 15px;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-slide {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .site-header,
  .back-to-top,
  .hero-arrow,
  .hero-dots,
  .hamburger,
  .mobile-bottom-nav {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .hero-section {
    margin-top: 0;
  }
}

/* ============================================
   TOUCH HOVER (MOBILE PRODUCT CARDS)
   ============================================ */

.product-card.touch-hover .product-hover-actions,
.product-card.touch-hover:hover .product-hover-actions {
  bottom: 0;
}

.product-card.touch-hover .product-image-wrap img {
  transform: scale(1.06);
}

/* ============================================
   SMOOTH TRANSITIONS FOR ALL INTERACTIVE
   ============================================ */

.hero-slide {
  will-change: opacity, visibility;
}

.product-card,
.article-card,
.process-card,
.stat-card,
.collection-circle {
  will-change: transform;
}

/* Selection color */
::selection {
  background: var(--peach);
  color: var(--warm-brown-dark);
}

/* ============================================
   SEARCH OVERLAY
   ============================================ */

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-overlay.open {
  opacity: 1;
  visibility: visible;
}

.search-panel {
  background: #fff;
  width: 100%;
  padding: 60px 20px 40px;
  position: relative;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-overlay.open .search-panel {
  transform: translateY(0);
}

.search-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-body);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.search-close:hover {
  background: var(--warm-brown);
  color: #fff;
  border-color: var(--warm-brown);
}

.search-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 6px 6px 6px 20px;
  transition: border-color 0.2s;
}

.search-form:focus-within {
  border-color: var(--warm-brown);
}

.search-form .search-icon {
  color: var(--text-light);
  font-size: 16px;
  flex-shrink: 0;
}

.search-form input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  padding: 12px 0;
  background: transparent;
}

.search-form input::placeholder {
  color: var(--text-light);
}

.search-submit {
  background: var(--warm-brown);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.search-submit:hover {
  background: #b36a30;
}

.search-suggestions {
  max-width: 640px;
  margin: 20px auto 0;
  text-align: center;
}

.search-suggestions p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.search-tags a {
  padding: 6px 16px;
  background: var(--light-blue-gray);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-body);
  text-decoration: none;
  transition: all 0.2s;
}

.search-tags a:hover {
  background: var(--peach);
  color: var(--warm-brown);
}

/* ============================================
   CART SIDEBAR
   ============================================ */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 92vw;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-overlay.open .cart-sidebar {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.cart-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-header h3 i {
  color: var(--warm-brown);
  font-size: 18px;
}

.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-body);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.cart-close:hover {
  background: var(--warm-brown);
  color: #fff;
  border-color: var(--warm-brown);
}

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.cart-empty i {
  font-size: 48px;
  color: var(--text-light);
  margin-bottom: 16px;
  opacity: 0.4;
}

.cart-empty p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.cart-shop-btn {
  padding: 12px 28px;
  background: var(--warm-brown);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}

.cart-shop-btn:hover {
  background: #b36a30;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--light-blue-gray);
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-dark);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-info .cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--warm-brown);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.cart-item-qty button {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-body);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.cart-item-qty button:hover {
  border-color: var(--warm-brown);
  color: var(--warm-brown);
}

.cart-item-qty span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  min-width: 16px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
  flex-shrink: 0;
}

.cart-item-remove:hover {
  color: #e74c3c;
}

.cart-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.cart-total span:first-child {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-dark);
}

.cart-total span:last-child {
  font-size: 20px;
  font-weight: 700;
  color: var(--warm-brown);
}

.cart-checkout-btn {
  width: 100%;
  padding: 14px;
  background: var(--warm-brown);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
}

.cart-checkout-btn:hover {
  background: #b36a30;
}

@media (max-width: 480px) {
  .cart-sidebar { width: 100%; max-width: 100%; }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-blue-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}

/* ============================================
   NAV LINK CHEVRON
   ============================================ */

/* ============================================
   PREMIUM MEGA MENU (SHOP)
   ============================================ */

.nav-list li.nav-mega-wrap {
  position: static;
}

.nav-mega-wrap .nav-link {
  position: relative;
}

.nav-link-shop .shop-chevron {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.nav-mega-wrap:hover .nav-link-shop,
.nav-mega-wrap.open .nav-link-shop {
  color: var(--primary);
}

.nav-mega-wrap:hover .shop-chevron,
.nav-mega-wrap.open .shop-chevron {
  color: var(--primary);
  transform: rotate(180deg);
}

.nav-mega-wrap.open .nav-link-shop::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 16px;
  right: 16px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px 2px 0 0;
}

/* Dropdown container — centered on the page, not aligned to SHOP */
.mega-dropdown {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 1200px;
  max-width: calc(100vw - 40px);
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.mega-dropdown.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* No padding-top: menu starts flush at the header's bottom edge */
.mega-dropdown .mega-inner {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(38, 72, 84, 0.16), 0 8px 24px rgba(38, 72, 84, 0.10);
  overflow: hidden;
  display: flex;
  height: 595px;
}

/* Pointer / triangle pointing up toward the SHOP link */
.mega-pointer {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--white);
  border-radius: 3px 0 0 0;
  transform: translateX(-50%) rotate(45deg);
  transform-origin: center;
  z-index: 2;
  box-shadow: -3px -4px 8px rgba(38, 72, 84, 0.08);
}

/* Sidebar */
.mega-sidebar {
  width: 350px;
  flex-shrink: 0;
  background: var(--mega-cyan);
  display: flex;
  flex-direction: column;
  padding: 22px 0;
}

.mega-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  width: calc(100% - 28px);
  margin: 0 auto;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--white);
  background: transparent;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  box-sizing: border-box;
}

.mega-cat i {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease, transform 0.2s ease;
}

.mega-cat:hover {
  background: rgba(255, 255, 255, 0.14);
}

.mega-cat:hover i,
.mega-cat.active i {
  color: var(--text-dark);
}

.mega-cat.active {
  background: var(--white);
  color: var(--text-dark);
  box-shadow: 0 6px 18px rgba(14, 61, 71, 0.18);
}

.mega-cat.active i {
  transform: translateX(-2px);
}

/* Content area */
.mega-content {
  flex: 1;
  min-width: 0;
  background: var(--white);
  padding: 34px 36px;
  position: relative;
}

.mega-panel {
  display: none;
  animation: megaFade 0.2s ease;
}

.mega-panel.active {
  display: block;
}

@keyframes megaFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.mega-panel-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 1.5px;
  margin: 0 0 6px;
}

.mega-divider {
  width: 52px;
  height: 3px;
  border-radius: 2px;
  background: var(--mega-orange);
  margin: 0 0 24px;
}

.mega-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mega-columns.two-cols {
  grid-template-columns: repeat(2, 1fr);
  max-width: 70%;
}

.mega-col-heading {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--mega-cyan-dark);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--light-blue-gray);
}

.mega-col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-col-list a {
  display: inline-block;
  padding: 7px 0;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.18s ease, padding-left 0.18s ease;
}

.mega-col-list a::before {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 11px;
  margin-right: 9px;
  color: var(--mega-cyan);
  opacity: 0;
  transform: translateX(-6px);
  display: inline-block;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.mega-col-list a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.mega-col-list a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.mega-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--mega-cyan);
  color: var(--mega-cyan-dark);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mega-view-all:hover {
  background: var(--mega-cyan);
  border-color: var(--mega-cyan);
  color: var(--white);
}

/* ============================================
   MOBILE SHOP ACCORDION
   ============================================ */

@media (max-width: 1023px) {
  .nav-mega-wrap {
    display: none;
  }

  .mobile-shop-wrap {
    position: relative;
  }

  .mobile-shop-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 18px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
  }

  .mobile-shop-toggle i {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.2s ease;
  }

  .mobile-shop-wrap.open .mobile-shop-toggle i {
    transform: rotate(180deg);
  }

  .mobile-shop-sub {
    list-style: none;
    margin: 0;
    padding: 0 18px 10px 28px;
    display: none;
  }

  .mobile-shop-wrap.open .mobile-shop-sub {
    display: block;
  }

  .mobile-shop-sub a {
    display: block;
    padding: 9px 0;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid var(--light-blue-gray);
  }

  .mobile-shop-sub a:hover {
    color: var(--primary);
  }
}

/* ============================================
   PREMIUM MOTION & ENTRANCE EFFECTS
   ============================================ */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--warm-brown), var(--peach), var(--teal));
  z-index: 1100;
  transition: width 0.15s ease-out;
}

/* Header entrance (slides down once page is ready) */
html.js .site-header {
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease, box-shadow var(--transition-normal), background var(--transition-normal);
}
html.js.page-ready .site-header {
  transform: translateY(0);
  opacity: 1;
}
html:not(.js) .site-header {
  transform: none;
  opacity: 1;
}

/* Nav link underline sweep */
.main-nav .nav-list li:not(.nav-mega-wrap) .nav-link {
  position: relative;
}
.main-nav .nav-list li:not(.nav-mega-wrap) .nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  height: 2px;
  background: var(--warm-brown);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.main-nav .nav-list li:not(.nav-mega-wrap) .nav-link:hover::after,
.main-nav .nav-list li:not(.nav-mega-wrap) .nav-link.active::after {
  transform: scaleX(1);
}

/* Section header children stagger when revealed */
html.js .section-header.revealed > * {
  opacity: 0;
  animation: headerChildIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
html.js .section-header.revealed > *:nth-child(2) { animation-delay: 0.1s; }
html.js .section-header.revealed > *:nth-child(3) { animation-delay: 0.2s; }

@keyframes headerChildIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Collection circle image zoom on hover */
.collection-circle {
  overflow: hidden;
}
.collection-circle img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.collection-item:hover .collection-circle img {
  transform: scale(1.15);
}

/* Process icon bounce on hover */
.process-card:hover .process-icon {
  animation: iconBounce 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes iconBounce {
  0%   { transform: scale(1) rotate(0deg); }
  40%  { transform: scale(1.18) rotate(-6deg); }
  70%  { transform: scale(0.95) rotate(4deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* Hero image gentle zoom on hover */
.hero-image-wrap .hero-image {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}
.hero-image-wrap:hover .hero-image {
  transform: scale(1.05);
}

/* Logo hover */
.logo-img {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.logo:hover .logo-img {
  transform: scale(1.08) rotate(-3deg);
}

/* Icon badge pop when cart count changes */
.icon-badge.bumped {
  animation: badgeBump 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes badgeBump {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.45); }
  100% { transform: scale(1); }
}

/* Stat number finale pop */
.stat-number.counted {
  animation: statsPop 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes statsPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}

/* Back to top gentle pulse while visible */
.back-to-top.visible {
  animation: backToTopPulse 2.4s ease-in-out infinite;
}
@keyframes backToTopPulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(196, 121, 58, 0.35); }
  50%      { box-shadow: 0 4px 20px rgba(196, 121, 58, 0.6); }
}

/* Smooth hover lift for header action icons */
.header-icon-btn {
  transition: transform var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}
.header-icon-btn:hover {
  transform: translateY(-2px);
}